package com.yunji.storage.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.storage.bo.StorageTicketListQueryBO;
import com.yunji.storage.bo.StorageTicketSelectQueryBO;
import com.yunji.storage.domain.StorageTicketDO;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.dao
 * @Title: IStorageTicketDao
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-31 17:55:49      V1.0        HuaAo       新建类
 */

public interface IStorageTicketDao extends IBaseDao<StorageTicketDO> {

    boolean updateStatus(StorageTicketDO ticket);

    StorageTicketDO select(StorageTicketSelectQueryBO bo);

    boolean delete(Long... ticketIds);

    List<StorageTicketDO> search(StorageTicketListQueryBO bo);
}